#ifndef __NIX_H__
#define __NIX_H__
#include "main.h"
#include "Nix.h"
#include "HC595.H"

extern unsigned char light,dat1,loc1;

sbit s0 = P3 ^ 3;
sbit s1 = P1 ^ 5;
sbit s2 = P5 ^ 5;
sbit s3 = P5 ^ 4;

void SMG_Number(unsigned char num, unsigned char loc, unsigned char y);

//void SMG(unsigned char L);  
void SGM_huxi(void);
//void SMG_SHOW(unsigned char light_level,unsigned char dat,unsigned char loc,unsigned char y);
void SMG_SHOW(unsigned char light_level);
void SMG_RUN(void);

#endif
